package server;

import java.util.Map;

public class Context {

    private String name;//项目名称
    private String htmlPath;//项目html文件存放目录
    private Map<String, HttpServlet> servletMapping;//项目下的所有servlet

    private String absolutePath;//项目根目录
    private String classPath;//项目.class文件存放目录

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAbsolutePath() {
        return absolutePath;
    }

    public void setAbsolutePath(String absolutePath) {
        this.absolutePath = absolutePath;
    }

    public String getClassPath() {
        return classPath;
    }

    public void setClassPath(String classPath) {
        this.classPath = classPath;
    }

    public String getHtmlPath() {
        return htmlPath;
    }

    public void setHtmlPath(String htmlPath) {
        this.htmlPath = htmlPath;
    }

    public Map<String, HttpServlet> getServletMapping() {
        return servletMapping;
    }

    public void setServletMapping(Map<String, HttpServlet> servletMap) {
        this.servletMapping = servletMap;
    }
}
